package cn.longge.service.impl;

import cn.longge.entity.SysLog;
import cn.longge.service.ISysLogService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class SysLogServiceImpl extends BaseServiceImpl<SysLog> implements ISysLogService {

    @Override
    @Transactional(propagation = Propagation.REQUIRES_NEW,rollbackFor=Exception.class)
    public int insertSelective(SysLog sysLog) {
        return super.insertSelective(sysLog);
    }
}
